import request from '../request'

//创建视频房间
export const createRoom = params => request.globalRequest(`aos/client/imService/createRoom`, 'GET', params, false)
//删除房间
export const removeRoom = params => request.globalRequest(`aos/client/imService/removeRoom/${params.params.id}`, 'GET', params, false)
//房间信息查看
export const roomInfo = params => request.globalRequest(`aos/client/imService/roomInfo/${params.params.cid}`, 'GET', params, false)
//查看房间内成员信息
export const roomMembers = params => request.globalRequest(`aos/client/imService/roomMembers/${params.params.cid}`, 'GET', params, false)
//查询是否有人邀请
export const findRoom = params => request.globalRequest(`aos/client/imService/findRoom`, 'GET', params, false)
//imToken删除房间
export const imTokenRemoveRoom = params => request.globalRequest(`aos/client/imService/imTokenRemoveRoom`, 'DELETE', params, false) 